package org.yty.travelagencymongodb.repository;

import org.springframework.data.mongodb.repository.MongoRepository;
import org.yty.travelagencymongodb.model.Entity.SignUp;

public interface SignUpRepository extends MongoRepository<SignUp,Long> {
    void deleteByTourGroupIdAndTravellerId(Long tourGroupId, Long travellerId);

    void deleteByTravellerId(Long travellerId);

    void deleteByTourGroupId(Long tourGroupId);
}
